'use strict';

const Controller = require('egg/index').Controller;

class RoleController extends Controller {
  /**
   * 获取所有API
   */
  async apis() {
    this.ctx.sendSuccess(this.app.config.adminApis);
  }
}

module.exports = RoleController;
